package proxy.practice;

import freemarker.template.Configuration;
import freemarker.template.Template;
import freemarker.template.TemplateException;
import proxy.IPerson;
import proxy.Person;

import java.io.*;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;

/**
 * User:xuzhidian
 * Date:2018/4/3
 * Time:22:28
 */
public class App {


    public static void main(String[] args) {
        try {
            IPerson instance = (IPerson) new MyScalper().getInstance(new Person());
            instance.buyTicket();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
